#!/bin/bash

pg_basebackup -h 127.0.0.1 -p 5432 -U hbu -l pg_basebackup_`date +%Y%m%d%H%M%S` -Fp -X fetch -P -v -R -D $HOME/pgdata/standby02